﻿#pragma once
#include <glad/glad.h>
#include <vector>
#include "OpenGLBuffer.h"

namespace Kriko
{
    class OpenGLVertexArray {
    private:
        GLuint arrayID;
        std::vector<OpenGLBuffer*> buffers;
    public:
        OpenGLVertexArray();
        ~OpenGLVertexArray();

        void AddBuffer(OpenGLBuffer* buffer, GLuint index);
        void Bind();
        void Unbind();
    };
}
